<%
if(user) { // authorized users only
  redirect "/authorized/test"
} else {
println """<a href="${users.createLoginURL(request.requestURI)}">login</a>"""
}
%>
